<template>
  <view class="my">
    <view class="my-had">
      <view>
        <image_shadow
          src="../../static/23.jpg"
          mode="center top"
          :width="109"
          :shadow-radius="60"
        >
        </image_shadow>
        <i class="iconfont icon-chenggong"></i>
      </view>

      <view>
        <text> Jessica Liu </text>
        <view>
          <text>关注 12</text>
          <text>粉丝 120</text>
        </view>

        <text>Jessica@qq.com</text>
      </view>
      <view>
        <i class="iconfont icon-shezhi"></i>
      </view>
    </view>

    <view class="my-c">
      <text> 腾讯认证创作者 </text>
      <view> </view>
      <text>
        腾讯动漫签约作者#漫画《森山与熊》作者#森山设计工作室创始人#德国红点奖入围平面设计师…
      </text>
    </view>

    <view class="my-bu">
      <view>
        <view>
          <text>作品</text>
          <text>已售</text>
        </view>
        <view>
          <i class="iconfont icon-jia"></i>
        </view>
      </view>

      <view>
        <y_card :src="srclist[0]['img']" :num="srclist[0]['num']" width="150"></y_card>
        <y_card :src="srclist[1]['img']" :num="srclist[1]['num']" width="150"></y_card>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      srclist: [
        {
          img: "/static/34.jpg",
          num: "7.2",
        },
        {
          img: "/static/34.jpg",
          num: "7.2",
        },
      ],
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
page {
  width: 100vw;
  height: 100vh;
  overflow: auto;
  // overflow: hidden;
  background-color: #f1f2f4;
}

.my {
  box-sizing: border-box;
  padding-top: 10px;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
}

.my-had {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 10px;

  view:nth-child(1) {
    position: relative;

    i {
      position: absolute;
      top: 0;
      right: 0;
      width: 32px;
      height: 32px;
      box-sizing: border-box;
      background-color: #38a971;
      color: #fff;
      border: #efecee 3px solid;
      border-radius: 50%;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      font-size: 16px;
      text-align: center;
      line-height: 32px;
    }
  }

  > view:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    height: 100px;

    i {
      font-size: 26px;
    }
  }

  > view:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;

    > text:nth-child(1) {
      font-size: 24px;
      color: #35405a;
      font-weight: bold;
    }

    > text:nth-child(3) {
      font-size: 14px;
      color: #b2b6c0;
    }

    > view {
      display: flex;

      flex-direction: row;
      align-items: center;
      padding: 10px;

      text {
        color: #616161;
        line-height: 21px;
        font-size: 16px;
        font-weight: bold;
      }

      text:nth-child(1) {
        margin-right: 15px;
      }
    }
  }
}

.my-bu {
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 400px;

  width: 100%;
  border-radius: 30px 30px 0 0;
  padding: 20px 30px 0px 30px;

  > view:nth-child(1) {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
	// justify-content: center;
	margin-bottom: 10px;

    > view:nth-child(2) {
      border-radius: 15px;
      margin-left: auto;
      background-color: #fff;
      padding: 8px;
      box-shadow: 0px 22px 24px 10px rgba(53, 64, 90, 0.13);
      width: 24px;
      height: 24px;
      align-items: center;
      display: flex;
      justify-content: center;
    }

    view {
      text {
        padding: 8px 14px;
        border-radius: 5px;
      }
      text:nth-child(1) {
        margin-right: 18px;
        background-color: #f4b062;
      }
      text:nth-child(2) {
        background-color: #f5f6f7;
      }

      i {
        font-size: 17px;
      }
    }
  }

  > view:nth-child(2) {
    display: flex;
    justify-content: space-between;
    margin-top: 1px;
  }
}

.my-c {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 22px 24px 6px 24px;
  background-color: #fff;
  margin: 20px 28px 35px 30px;
  box-shadow: 0px 22px 24px 0px rgba(53, 64, 90, 0.13);
  border-radius: 10px;

  text:nth-child(1) {
    font-size: 18px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: bold;
    color: #272f4b;
    line-height: 24px;
  }

  view {
    border: 0.5px solid #dee2ee;
    margin: 12px 0 20px 0px;
    width: 150px;
  }

  text:nth-child(3) {
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #a9abb1;
    line-height: 28px;
    font-size: 15px;
    height: 84px;
  }
}
</style>
